package org.yn.auth.mapper;

import org.yn.auth.domain.Permission;
import org.yn.auth.query.PermissionQuery;
import org.yn.base.mapper.IBaseMapper;

import java.util.List;
import java.util.PriorityQueue;

public interface PermissionMapper extends IBaseMapper<Permission> {
//    // 插入
//    void insert(Permission permission);
//    //分页查询的
//    Integer countTotal(PermissionQuery permissionQuery);
//
//    //分页查询
//    List<Permission> queryPage(PermissionQuery permissionQuery);

    //查询全部
    List<Permission> queryPermission();



   //    删除全部
    void  deleteAll();

}
